package com.yanfan.interfaces.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

import com.yanfan.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 接口监测统计对象 ibms_interface_monitoring_statistics
 *
 * @author genluo
 * @date 2024-08-27
 */

@Data
public class IbmsInterfaceMonitoringStatistics implements Serializable{

private static final long serialVersionUID=1L;

    /**
     * id
     */
    @Excel(name = "id")
    @TableId(value = "id" , type = IdType.AUTO) // 整型类型使用自增
    private Long id;

    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建日期" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新日期" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;

    /**
     * 成功率
     */
    @Excel(name = "成功率")
    private String successRate;

    /**
     * 失败率
     */
    @Excel(name = "失败率")
    private String failureRate;

    /**
     * 请求总数
     */
    @Excel(name = "请求总数")
    private Long totalRequests;

    /**
     * 成功数
     */
    @Excel(name = "成功数")
    private Long successNumbers;

    /**
     * 失败数
     */
    @Excel(name = "失败数")
    private Long failureNumbers;


}
